export default function printOutput() {

    const allData = this.props.table.getAllTableData('ncc60071702list');
    const param_str = allData.rows.map(item => item.values.pk_psnjob.value);

    let printData = {
        filename: this.props.json['hi6007-000099'], /* 国际化处理： 员工信息*/
        funcode: '60071030',      //功能节点编码，即模板编码
        nodekey: '60071030list',//60071030:员工信息查询卡片; 60071030list:员工信息查询列表
        oids: param_str,   // 单据pk  oids含有多个元素时为批量打印,
        outputType: 'output'
    };

    this.setState({printData}, () => {
        this.refs.printOutput.open();
    });
}
